<?php

namespace App\Http\Controllers\admin\sick;

use App\Http\Controllers\Controller;
use App\Models\Sick;
use App\Server\ApiService;
use Illuminate\Http\Request;

class SickController extends Controller
{
    public function sickIndex()
    {
        $data = Sick::all();
        if ($data)
        {
            return ApiService::success('获取已添加的患者列表成功',$data);
        } else {
            return ApiService::fail('获取已添加的患者列表失败');
        }
    }
}
